﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Windows.Markup;

using Prism.Games.GalEngine.Scripts.FunctionModel;
using Prism.Games.GalEngine.Scripts.Data.ResourceCollection;

namespace Prism.Games.GalEngine.Scripts.Data.Effect
{
    [Serializable]
    public class Effect : MarkedObject, IItemIncrementalMarkableHost
    {
        public Effect(IItemIncrementalMarkable host)
        {
            this.Animations = new AnimationCollection();
            this.Host = host;
        }

        private string targetName;
        public string TargetName { get { return this.targetName; } set { this.targetName = value; this.OnPropertyChanged("TargetName"); } }

        private AnimationCollection animations;
        public AnimationCollection Animations { get { return this.animations; } set { this.animations = value; this.OnPropertyChanged("Animations"); } }


        public IItemIncrementalMarkable Host
        {
            get;
            set;
        }
    }
}
